<?php

namespace app\admin\model\exam;

use addons\exam\enum\CateUses;
use addons\exam\model\BaseModel;
use think\Config;
use think\Db;
use traits\model\SoftDelete;


class MainClassesTikuModel extends BaseModel
{
    use SoftDelete;

    protected $connection = 'db2';
    // 表名
    protected $name = 'classes_tiku';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = false;
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append
        = [
            'kind_text',
            'level_text'
        ];
    

}
